package com.ws.lv.mapper;

import com.ws.lv.bean.Acl_permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Acl_permissionMapper {
    List<Acl_permission> selectAcl_permissionAll();

    List<Acl_permission> selectAcl_permissions(@Param("name") String name, @Param("path") String path);

    int deleteAcl_permission(Integer perm_id);

    Acl_permission selectAcl_permissionById(Integer perm_id);

    List<Acl_permission> selectAcl_permissionByPid(Integer pid);

    int insertAcl_permissionParent(Acl_permission acl_permission);

    int insertAcl_permissionChild(Acl_permission acl_permission);

    int updateAcl_permission(Acl_permission acl_permission);

    int deleteAcl_role_permissionByPermId(Integer perm_id);



}
